import PyPDF2
pdfFileObj = open('SaaS创业路线图.pdf', 'rb')
pdfReader = PyPDF2.PdfFileReader(pdfFileObj)
print(pdfReader.isEncrypted)
# print(pdfReader.numPages)
pageObj = pdfReader.getPage(20)
print(pageObj.extractText())